#pragma once;
#include <map>
#include <fstream>
#include <string>

using std::map;
using std::ifstream;
using std::string;
using std::getline;

class ReadConf
{
private:
	static ReadConf* obj;

	char* path;

	ReadConf(char* path);

	map<string, string> conf;

public:
	static ReadConf* getInstance(char* path);

	void setConfPath(char* path);

	void destory();

	static void clear();

	map<string, string>& ReadConf::configFileRead();

	void ReadConf::deleteAllMark(string& s, const string& mark);

	map<string, string>& getConf();

	~ReadConf();
};